import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
	state: {
		city: "深圳"
	},
	getters: {},
	mutations: {
		// 点击切换城市
		onChangeCity(state,cityName) {
			// 修改地区
			state.city = cityName;
		},
	},
	actions: {},
	modules: {}
})
